package com.atguigu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author BLADE
 * @description:
 * @data 2024/4/1510:36
 */
@SpringBootApplication
@EnableDiscoveryClient //该注解使用consul为注册中心时注册服务
@EnableFeignClients //开启激活OpenFeign功能
public class MainOpenFeign8000 {
    public static void main(String[] args) {
        SpringApplication.run(MainOpenFeign8000.class,args);
    }
}